package cn.exrick.xboot.modules.AccessControl.entity;

import cn.exrick.xboot.base.XbootBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Index;
import javax.persistence.Table;

/**
 * @author portal
 */
@Data
@Entity
@Table(name = "t_access_control_user")
@TableName("t_access_control_user")
@ApiModel(value = "AccessControlUser")
@NoArgsConstructor
@AllArgsConstructor
public class AccessControlUser extends XbootBaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户名")
    private String username;
    @ApiModelProperty(value = "应用表（t_system）的id")
    private String sysId;

    public AccessControlUser(String sysId){
        this.sysId=sysId;
    }
}